import request from '@/utils/request'
import { tradeApi } from '@/utils/comm'

// 查询服务订单列表
export function listServerOrder(query) {
  return request({
    url: `${tradeApi}/serverOrder/list`,
    method: 'get',
    params: query
  })
}

// 查询服务订单详细
export function getServerOrder(id) {
  return request({
    url: `${tradeApi}/serverOrder/` + id,
    method: 'get'
  })
}

